import request from '@/utils/request'

// 群众举报列表
export function tzzfindList(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzfindList',
        method: 'post',
        data
    })
}

// 我的巡视
export function tzzfindWtList(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzfindWtList',
        method: 'post',
        data
    })
}

// 整改到期
export function selectByDueTime(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/selectByDueTime',
        method: 'post',
        data
    })
}

// 整改到期-新4-14
export function tzzfindYclList(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzfindYclList',
        method: 'post',
        data
    })
}


// 公众信息采集表单反显   查看
export function tzzfindById(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzfindTyById',
        method: 'post',
        data
    })
}

// // 公众信息采集表单反显   查看
// export function tzzfindById(data) {
//     return request({
//         url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzfindById',
//         method: 'post',
//         data
//     })
// }

// 公众信息采集表单填报
export function tzzCommonSave(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzCommonSave',
        method: 'post',
        data
    })
}

// 巡视问题表单填报
export function tzzPatrolSave(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzPatrolSave',
        method: 'post',
        data
    })
}

// 群众举报处理
export function tzzCommonSubmit(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzCommonSubmit',
        method: 'post',
        data
    })
}

// 田长制-处理
export function setDispose(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/setDispose',
        method: 'post',
        data
    })
}

// 田长制-上报
export function setTask(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/setTask',
        method: 'post',
        data
    })
}


// 田长制-指导
export function setGuide(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/setGuide',
        method: 'post',
        data
    })
}


// 不属实
export function tzzNoSh(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/longSystemController/tzzNoSh',
        method: 'post',
        data
    })
}

// 上传图片
export function upLoadImageFile(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/uploadExport/upLoadImageFile',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'multipart/form-data',
        },
    })
}

// 查看图片
export function queryUploadImage(data) {
    return request({
        url: process.env.VUE_APP_BASE_API + '/uploadExport/queryUploadImage',
        method: 'post',
        data
    })
}